<extend name="Public:base" />


<block name="head">
<script>
var objClock;
function send_message(){
	// alert('请从学生手机中取得验证码进行关联');
	clock();
	objClock = setInterval('clock()', 1000);
}
var clock_second = 60;
function clock(){
	if(clock_second == 1){
		clearInterval(objClock);
		clock_second = 60;
		$('#send_message_button').html('发送短信验证码');
		$('#send_message_button').prop('disabled', false);
	}else{
		clock_second--;
		$('#send_message_button').html('等待' + clock_second + '秒后操作');
		$('#send_message_button').prop('disabled', true);
	}
}
</script>
</block>


<block name="main">

<!-- <img src="__PUBLIC__/img/account/top.jpg" width="100%"> -->

<br><br>

<div class="container">

<form id="form" action="__URL__/?act=add_finish" method="post" class="form-horizontal">
	<div class="form-group">
		<label class="col-sm-3 control-label">原因</label>
		<div class="col-sm-9">
			<textarea name="id" placeholder="需审批请认真填写"
			class="form-control">因学习太忙，希望留在学校复习功课，不回家</textarea>
		</div>
	</div>


	<div class="navbar-fixed-bottom">
		<button class="btn btn-block btn-primary"
		onclick="location.href='__URL__'">提交</button>
	</div>

</form>

	<div class="alert alert-warning alert-dismissible fade in" role="alert">
		<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button>
		学生填写不坐校巴的原因
	</div>

</div>

</block>
